package com.betty.cscams.constant;

/**
 * 常量管理
 * @author Louis
 * @date Jan 13, 2019
 */
public interface SysConstants {

	/**
	 * 系统管理员用户名
	 */
	String ADMIN = "admin";
	/**
	 * 验证码有限时间5分钟
	 */
	Long VALID_TIME = Long.valueOf(5*60*1000);

	/**
	 * 学期状态
	 * 1 未开始
	 * 2 进行中
	 * 3 已完成
	 */
	Integer TERM_STATUS_1 = 1;
	Integer TERM_STATUS_2 = 2;
	Integer TERM_STATUS_3 = 3;

	/**
	 * 审核状态
	 */
	Integer REVIEW_STATUS_1 = 1; // 未提交
	Integer REVIEW_STATUS_2 = 2; // 班管退回
	Integer REVIEW_STATUS_3 = 3; //待班管审核
	Integer REVIEW_STATUS_4 = 4; //院管退回
	Integer REVIEW_STATUS_5 = 5; // 待院管审核
	Integer REVIEW_STATUS_6 = 6; //审核完成

	/**
	 * 文件存储路径
	 */
	String WINDOWS_PATH = "D:/cscams/uploadPath";
	String LINUX_PATH = "/home/cscams/uploadPath";
	/**
	 * 头像存储路径
	 */
	String IMG_WINDOWS_PATH = "file:/D:/cscams/uploadPath/img/";
	String IMG_LINUX_PATH = "file:/home/cscams/uploadPath/img/";

	/**
	 * 操作类型
	 */
	Integer OPERATION_TYPE_1=1; //提交
	Integer OPERATION_TYPE_2=2;  //通过
	Integer OPERATION_TYPE_3=3;   //退回
	Integer OPERATION_TYPE_4=4;   //完成
}
